2,606 research outputs found

    Python library reference

    Get PDF
    Python is an extensible, interpreted, object-oriented programming language. It supports a wide range of applications, from simple text processing scripts to interactive WWW browsers. While the Python Reference Manual describes the exact syntax and semantics of the language, it does not describe the standard library that is distributed with the language, and which greatly enhances its immediate usability. This library contains built-in modules (written in C) that provide access to system functionality such as file I/O that would otherwise be inaccessible to Python programmers, as well as modules written in Python that provide standardized solutions for many problems that occur in everyday programming. Some of these modules are explicitly designed to encourage and enhance the portability of Python programs. This library reference manual documents Python's standard library, as well as many optional library modules (which may or may not be available, depending on whether the underlying platform supports them and on the configuration choices made at compile time). It also documents the standard types of the language and its built-in functions and exceptions, many of which are not or incompletely documented in the Reference Manual. This manual assumes basic knowledge about the Python language. For an informal introduction to Python, see the Python Tutorial; the Python Reference Manual remains the highest authority on syntactic and semantic questions. Finally, the manual entitled Extending and Embedding the Python Interpreter describes how to add new extensions to Python and how to embed it in other applications

    Extending and embedding the Python interpreter

    Get PDF
    Python is an interpreted, object-oriented programming language. This document describes how to write modules in C or C++ to extend the Python interpreter with new modules. Those modules can define new functions but also new object types and their methods. The document also describes how to embed the Python interpreter in another application, for use as an extension language. Finally, it shows how to compile and link extension modules so that they can be loaded dynamically (at run time) into the interpreter, if the underlying operating system supports this feature. This document assumes basic knowledge about Python. For an informal introduction to the language, see the Python Tutorial. The Python Reference Manual gives a more formal definition of the language. The Python Library Reference documents the existing object types, functions and modules (both built-in and written in Python) that give the language its wide application range

    Python tutorial

    Get PDF
    Python is a simple, yet powerful programming language that bridges the gap between C and shell programming, and is thus ideally suited for ``throw-away programming'' and rapid prototyping. Its syntax is put together from constructs borrowed from a variety of other languages; most prominent are influences from ABC, C, Modula-3 and Icon. The Python interpreter is easily extended with new functions and data types implemented in C. Python is also suitable as an extension language for highly customizable C applications such as editors or window managers. Python is available for various operating systems, amongst which several flavors of UNIX, Amoeba, the Apple Macintosh O.S., and MS-DOS. This tutorial introduces the reader informally to the basic concepts and features of the Python language and system. It helps to have a Python interpreter handy for hands-on experience, but as the examples are self-contained, the tutorial can be read off-line as well. For a description of standard objects and modules, see the Python Library Reference manual. The Python Reference Manual gives a more formal definition of the language

    Python reference manual

    Get PDF
    Python is a simple, yet powerful, interpreted programming language that bridges the gap between C and shell programming, and is thus ideally suited for ``throw-away programming'' and rapid prototyping. Its syntax is put together from constructs borrowed from a variety of other languages; most prominent are influences from ABC, C, Modula-3 and Icon. The Python interpreter is easily extended with new functions and data types implemented in C. Python is also suitable as an extension language for highly customizable C applications such as editors or window managers. Python is available for various operating systems, amongst which several flavors of UNIX (including Linux), the Apple Macintosh O.S., MS-DOS, MS-Windows 3.1, Windows NT, and OS/2. This reference manual describes the syntax and ``core semantics'' of the language. It is terse, but attempts to be exact and complete. The semantics of non-essential built-in object types and of the built-in functions and modules are described in the Python Library Reference. For an informal introduction to the language, see the Python Tutorial

    AIL - a class-oriented RPC stub generator for Amoeba

    Get PDF
    AIL – an acronym for Amoeba Interface Language – is a class-oriented RPC stub generator, used with Amoeba’s RPC primitives. Together with Amoeba’s facilities for manipulating capabilities (bit patterns that are unforgeable references to objects maintained by servers anywhere on a network), AIL provides a completely object-oriented view of a distributed operating system. Input to AlL consists of class and type definitions and generator directives; output are several flies containing function definitions to be compiled and linked with clients and servers. Class definitions consist mainly of function headers (specifying parameter types, etc.). Classes can inherit multiple other classes. AlL can (in principle) generate stubs for different programming languages, so clients and servers need not be written in the same language

    Ouabain-induced cytoplasmic vesicles and their role in cell volume maintenance

    Get PDF
    Cellular swelling is controlled by an active mechanism of cell volume regulation driven by a Na+/K+-dependent ATPase and by aquaporins which translocate water along the osmotic gradient. Na+/K+-pump may be blocked by ouabain, a digitalic derivative, by inhibition of ATP, or by drastic ion alterations of extracellular fluid. However, it has been observed that some tissues are still able to control their volume despite the presence of ouabain, suggesting the existence of other mechanisms of cell volume control. In 1977, by correlating electron microscopy observation with ion and water composition of liver slices incubated in differentmetabolic conditions in the presence or absence of ouabain, we observed that hepatocytes were able to control their volume extruding water and recovering ion composition in the presence of ouabain. In particular, hepatocytes were able to sequester ions and water in intracellular vesicles and then secrete themat the bile canaliculus pole.We named this “vesicularmechanismof cell volume control.” Afterward, thismechanism has been confirmed by us and other laboratories in several mammalian tissues.This review summarizes evidences regarding this mechanism, problems that are still pending, and questions that need to be answered. Finally, we shortly review the importance of cell volume control in some human pathological conditions

    Stable Hebbian learning from spike timing-dependent plasticity

    Get PDF
    We explore a synaptic plasticity model that incorporates recent findings that potentiation and depression can be induced by precisely timed pairs of synaptic events and postsynaptic spikes. In addition we include the observation that strong synapses undergo relatively less potentiation than weak synapses, whereas depression is independent of synaptic strength. After random stimulation, the synaptic weights reach an equilibrium distribution which is stable, unimodal, and has positive skew. This weight distribution compares favorably to the distributions of quantal amplitudes and of receptor number observed experimentally in central neurons and contrasts to the distribution found in plasticity models without size-dependent potentiation. Also in contrast to those models, which show strong competition Changes in the synaptic connections between neurons are widely believed to contribute to memory storage, and the activitydependen

    Position paper

    Get PDF

    An Interactive Multimedia Business Game

    Get PDF
    The playing of computer-based business games has changed little with recent technological improvements. Teams make decisions which are written down on paper and handed to a tutor who then has to enter these into the computer. To make it a richer and more real-life experience we have brought a business simulation into a multimedia environment. In order to create a sense of the passing of time the simulation is continuous, and players can enter input values throughout the game. Important parameters, such as product sales, are displayed as continuously updated graphs. Background information such as news items is provided in multimedia form. Players also have direct access to online tools, such as spreadsheets, from the game environment. We describe the prototype built to illustrate our approach
    corecore